package com.qinglei.recoup.system.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * Created by qTo on 2021/1/14.
 */
@Data
public class HealthDetailParam {

    @ApiModelProperty("床位id")
    @NotNull
    private Integer bedId;

    @ApiModelProperty("日期类型（1-昨天 2-前天 3-7天 4-30天）")
    private Integer type;

    @ApiModelProperty("日期类型（1-昨天 2-前天 3-7天 4-30天）")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate date;

}
